home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / csdtpckr / readme.txt < prev   
Encoding:
Text File  |  1998-11-01  |  2.3 KB  |  67 lines

  1. COMPUTER SIMPLE DATE PICKER (CSDTPCKR)
  2.  
  3. Written by Robert Walker
  4. for Computer Simple, Inc.
  5.  
  6. --------------------------------------------------------
  7. The CSDTPCKR is a Data-Aware, sub-classed version of the
  8. date picker included in Microsoft's Comctl32.dll.
  9.  
  10. This source code was written using Microsoft
  11. Visual Basic version 5.
  12.  
  13. The CSDTPCKR also uses the following Windows 
  14. System Libraries:
  15. - Comctl32.dll
  16. - User32.dll
  17. - kernel32.dll
  18. - oleaut32.dll
  19.  
  20. --------------------------------------------------------
  21. Additional information about CSDTPCKR:
  22.  
  23. In run-mode, the user can right-click on the control 
  24. to toggle between Spin-Button and DropDown mode to select 
  25. dates (timepick only allows spin button editing. The 
  26. initial state of the control can be set to spin-button/dropdown 
  27. by setting the UPDOWN Property.
  28.  
  29. In run-mode, using the Shift-Arrow, "+", and "-" keys
  30. allows you to change the date in the text box without
  31. using the drop-down calendar or spin-button.
  32.  
  33. The CSDTPCKR initially shows the current date in the
  34. text area however the value property is "empty" until 
  35. a date is actually picked by either using the drop-down
  36. calendar, the spin-button or the keyboard.
  37.  
  38.     If IsEmpty(CSCal1.Value) Then
  39.        Debug.Print Date
  40.     Else
  41.        Debug.Print CSCal1.Value
  42.     End If
  43.  
  44. The CSDTPCKR can be used as a TIMEPICKER by changing the
  45. TIMEPICK property to TRUE.
  46.  
  47. --------------------------------------------------------
  48. Additional properties obtained by sub-classing:
  49.  
  50. AlignRight - Changes the alignment of the drop-down Calendar
  51. BackColor - The background color of the drop-down Calendar
  52. FirstDayOfWeek - Changes the first day of the week in the Calendar
  53. Font - Changes the font for the text box and the Calendar
  54. Max and Min - Sets limits on navigation in Calendar
  55. ShowToday - Shows a circle on today's date in the calendar
  56. ShowWeeks - Shows the weeks of the year in the calendar
  57. TextColor - Color of text for displaying the dates for the current month. 
  58. TimePick - Determine whether the control will be used to pick times or dates.
  59. TitleBackColor - Color of the background displayed in the dropdown title bar
  60. TitleTextColor - Color of the font to display the month/year at the top of the calendar
  61. TrailTextColor - Color of the font for leading and trailing dates.
  62. UpDown - Displays a spin-button to change the dates in the text box
  63.  
  64.  
  65.  
  66.  
  67.